package org.fuys.coder.domain.audit.model.event;


import org.fuys.coder.domain.audit.model.req.AuditTask;
import org.fuys.coder.domain.audit.model.res.AuditResult;
import org.springframework.context.ApplicationEvent;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.audit.model.event
 * @className: AsyncAuditEvent
 * @author: WangJing
 * @description: 异步执行
 * @date: 2024/6/23 16:30
 * @version: 1.0
 */

public class AsyncAuditEvent extends ApplicationEvent {

    private AuditResult auditResult;

    private AuditTask auditTask;

    public AsyncAuditEvent(Object source) {
        super(source);
    }

    public void setAuditResult(AuditResult auditResult){
        this.auditResult=auditResult;
    }

    public AuditResult getAuditResult(){
        return this.auditResult;
    }

    public AuditTask getAuditTask() {
        return auditTask;
    }

    public void setAuditTask(AuditTask auditTask) {
        this.auditTask = auditTask;
    }
}
